package com.physics.mps.entity.vo.login;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * @author mcsoft
 * @date 2023/8/28 14:51
 */
@Getter
@Setter
@ToString
public class LoginVo implements Serializable {


    private static final long serialVersionUID = -6889603640552949276L;

    private int id;


    /**
     * 账号：用户名/手机号码
     */
    @NotEmpty(message = "账号不能为空")
    private String account;

    /**
     * 用户名
     */
    private String username;

    /**
     * 密码
     */
    @NotEmpty(message = "密码不能为空")
    private String password;


    private String token;

    private long loginTime;

    private long expireTime;


}
